Test Case Generation for Programming Language Metamodels
نویسندگان
چکیده
for Software Language Engineering 2010 Doctoral Symposium Hao Wu Supervisors: Rosemary Monahan and James F. Power Department of Computer Science, National University of Ireland, Maynooth {haowu,rosemary,jpower}@cs.nuim.ie 1 Problem Description and Motivation One of the central themes in software language engineering is the specification of programming languages, and domain-specific languages, using a metamodel. This metamodel provides a greater degree of abstraction than a context-free grammar, since it can ignore syntactic details. However, its main benefit is in providing for the specification of the abstract syntax graph of a language, and this can then be used for the construction or generation of language processing tools. One problem associated with the use of programming language metamodels, and metamodels in general, is determining whether or not they are correct. Of course, one approach is to forward engineer code and test this, but it should also be possible to test the metamodel directly. In this context, the question addressed by our research is: given a programming language metamodel, how can we generate an appropriate test suite to show that it is valid? Being able to generate such a test suite would have two main benefits. First, examining the automatically-generated test cases would help to develop the modeller’s understanding of the metamodel, and help to increase confidence in its validity. Second, since the metamodel specifies a programming language, the generated test cases should be valid programs from that language, and these can be used as test inputs for tools that process the language.
منابع مشابه
Automated Generation of Metamodels for Web service Languages
Abstract: Recently, the application of the MDA to Web services has received considerable attention. In the MDA, models are instances of the MOF based metamodels. Model Transformation, which is a key feature of the MDA, can carried out via defining Transformation Rules between two MOF compliant metamodels. As a result, finding MOF compliant metamodels for languages is an essential prerequisite f...
متن کاملCognitive Modeling of Personalized Software Design Styles - A case Study in e-learning [Draft]
This paper discusses an approach to knowledge representation and processing based on representing information at a metamodel level and adapting it to the current user at various levels of abstraction. In this way both runtime data and program code are adapted to the user. Thanks to this approach is possible to model sophisticated concepts in a direct and natural way avoiding technological detai...
متن کاملMetamodeling the Enhanced Entity-Relationship Model
A metamodel provides an abstract syntax to distinguish between valid and invalid models. That is, a metamodel is as useful for a modeling language as a grammar is for a programming language. In this context, although the Enhanced Entity-Relationship (EER) Model is the ”de facto” standard modeling language for database conceptual design, to the best of our knowledge, there are only two proposals...
متن کاملA Modular Reference Structure for Component-based Architecture Description Languages
Metamodels are used to define languages, code generation and they serve as data structures for metamodel-centric software systems. In software engineering, these metamodels are crafted, evolved and extended, e.g., by further quality dimensions or structural features. However, an ad-hoc modeling approach does not properly support metamodel reuse by extension or composition. Nor does it enforce a...
متن کاملFrom Document Type Definitions to Metamodels: The WebML Case Study
Metamodels are a prerequisite for model-driven engineering (MDE). In the past, DTDs have also been deployed for language definitions. MDE techniques and tools can not be reused for such languages, however. The WebML web modeling language for modeling web applications is one example that does not yet rely on an explicit metamodel. Instead it is implicitly defined within the methodology’s accompa...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2010